import Mock from 'mockjs'

export const lineData = Mock.mock({
    'list|5': [{
        'id|+1': 1,
        'name': '@cname',
        'age|18-60': 1,
        'email': '@email',
        'phone': '@mobile'
    }]
});

export const system = {
    menu: [{
        id: '1',
        name: '首页',
        meta: {
            icon: 'Home',
            hidden: false,
            cache: false
        },
        component: 'Layout',
        children: [{
            id: '2',
            name: '控制台',
            meta: {
                icon: '',
                hidden: false,
                cache: false
            }
        },{
            id: '3',
            name: '账号信息',
            meta: {
                icon: '',
                hidden: false,
                cache: false
            }
        }]
    }]
}